Conversation
🦋 Changeset detectedLatest commit: a5c45ac The changes in this PR will be included in the next version bump. This PR includes changesets to release 82 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
scripts/src/tasks/format.js
Outdated
| examples: [['Format the current package', '$0 format']], | ||
| }); | ||
|
|
||
| fix = Option.Boolean('--fix', false, { |
There was a problem hiding this comment.
@tido64 points out that the underlying thing in prettier is false by default, but true by default with oxfmt
There was a problem hiding this comment.
Imo, it's a lot more useful to have --fix on by default and only use --check on CI. If I run format, it's because I want it to format my files, not tell me that I should format my files.
There was a problem hiding this comment.
I made this change. @JasonVMo FYI since this differs from the rest of your fix mode stuff
|
Note: it is way faster to just run |
Description of changes
Following the footsteps of @tido64 in microsoft/react-native-test-app#2681 and microsoft/rnx-kit#3990
Note: Most of this PR (the first 3 commits at least) are mostly entirely AI generated
Verification
CI should pass
The time difference running with
lageis nonexistent because it's dominated by the per-package execution. Runningprettier *andoxfmtat root though...Pull request checklist
This PR has considered (when applicable):